/*
 * Ejercicio realizado por Francisco Gonzalez-Armijo Riádigos
 * para la prueba de seleccion de http://www.nomasystems.es
 */

package es.kuassivi.android.cd.beans;

/**
 * JavaBean Phone
 * Objeto manipulable que representa un numero de telefono
 * 
 * @author kuassivi <a href="mailto:kuassivi@gmail.com">kuassivi@gmail.com</a>
 * @since 0.1
 */
public class Phone {

	private int id;
	private int subscriberId; // optional (Company ID)
	private String countryCode;
	private long subscriberNumber;

	
	public Phone() 
	{
		super();
		this.id = -1; // new
	}
	
	public Phone(String countryCode, long subscriberNumber) 
	{
		super();
		this.id = -1;
		this.subscriberId = -1; // empty
		this.countryCode = countryCode;
		this.subscriberNumber = subscriberNumber;
	}
	
	public Phone(int id, String countryCode, long subscriberNumber) 
	{
		super();
		this.id = id;
		this.subscriberId = -1; // empty
		this.countryCode = countryCode;
		this.subscriberNumber = subscriberNumber;
	}
	
	public Phone(int id, int subscriberId, String countryCode,
			long subscriberNumber) 
	{
		super();
		this.id = id;
		this.subscriberId = subscriberId;
		this.countryCode = countryCode;
		this.subscriberNumber = subscriberNumber;
	}
	
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSubscriberId() {
		return subscriberId;
	}

	public void setSubscriberId(int subscriberId) {
		this.subscriberId = subscriberId;
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}

	public long getSubscriberNumber() {
		return subscriberNumber;
	}

	public void setSubscriberNumber(long subscriberNumber) {
		this.subscriberNumber = subscriberNumber;
	}
	
}
